package com.ysd.lis.entity.lab;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 设备管理-设备类型
 * </p>
 *
 * @author prs
 * @since 2024-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("LAB_FINANCE_SETTLE_DETAIL")
public class LabFinanceSettleDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 单据ID
     */
    @TableField("SETTLE_ID")
    private String settleId;
    /**
     * 单据号
     */
    @TableField("SETTLE_NO")
    private String settleNo;


    /**
     * 送检单位编码
     */
    @TableField("REQ_NO")
    private String reqNo;


    /**
     * 申请项目代号
     */
    @TableField("FEE_CODE")
    private String feeCode;

    /**
     * 申请项目名称
     */
    @TableField("FEE_NAME")
    private String feeName;

    /**
     * 数量
     */
    @TableField("AMOUNT")
    private BigDecimal amount;


    /**
     * 费用合计
     */
    @TableField("COSTS")
    private BigDecimal costs;
    /**
     * 人数
     */
    @TableField("PEOPLE")
    private BigDecimal people;

    /**
     * 单价
     */
    @TableField("PRICE")
    private BigDecimal price;

    /**
     * 序号
     */
    @TableField("SEQ")
    private Integer seq;


    /**
     * 佣金方式：1:比例，2:固定值
     */
    @TableField("BROKERAGE_TYPE")
    private String brokerageType;

    /**
     * 佣金值
     */
    @TableField("BROKERAGE")
    private Double brokerage;

    /**
     * 销售提成金额
     */
    @TableField("BROKERAGE_COSTS")
    private Double brokerageCosts;

}
